Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Nuke: double slate #3521

Merged
merged 6 commits into from
Jul 22, 2022
Merged

Nuke: double slate #3521

merged 6 commits into from
Jul 22, 2022

Conversation

jrsndl
Copy link
Collaborator

@jrsndl jrsndl commented Jul 15, 2022

Brief description

This changes a way to merge slate with review. Now it reencodes, so all apps can read the result with slate correctly.
Also, reviews with audio and slate now have audio again.

I tested on op-atom MXF, DNxHD mov, Prores mov, H264 in mp4. With audio (except MXF) and with two ExtractReviewDataMov Output Definitions. Local publish, clean working folder.

Testing notes:

  1. Make a slated output with and with no audio as MXF and H264 in mp4
  2. Compare lengths of the sequence output with MFX and mp4 in Resolve
  3. See that Resolve reads all frames correctly

@jrsndl jrsndl self-assigned this Jul 15, 2022
@ynbot
Copy link
Contributor

ynbot commented Jul 15, 2022

Task linked: OP-3520 Sort nodes by name

@jrsndl jrsndl added the type: bug Something isn't working label Jul 15, 2022
@jrsndl jrsndl linked an issue Jul 15, 2022 that may be closed by this pull request
Comment on lines 327 to 328
"-codec:v",
"-pixfmt",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the link working?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Args for codec and pixfmt are actually not needed. The bitrate is.

Copy link
Member

@iLLiCiTiT iLLiCiTiT Jul 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the link working?

Seems like it's not. There is format_args and codec_args calculated from source (approximately line 186). That must be used as source for codec and pixfmt instead.

They actually must be filled otherwise ffmpeg will use default values for the codec and format.

The same applies for format. For example if mxf OPAtom would be processed without that arguments output won't be OPAtom but default mxf profile defined by ffmpeg.

@jrsndl jrsndl requested a review from iLLiCiTiT July 15, 2022 14:30
Copy link
Member

@jakubjezek001 jakubjezek001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could not replicate the problem you had described, but this PR is working well althought this needs to beet tested as much as possible!

@jakubjezek001
Copy link
Member

here is the two versions from my tests and both of them are the same.
image

@ynbot
Copy link
Contributor

ynbot commented Jul 22, 2022

@jakubjezek001
Copy link
Member

closing #3520

@jakubjezek001 jakubjezek001 merged commit a0eba95 into develop Jul 22, 2022
@jakubjezek001 jakubjezek001 deleted the bugfix/OP-3520_Nuke-double-slate branch July 22, 2022 13:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: Nuke type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nuke: Slate is displayed twice by some viewers
4 participants